﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Com.Web.coffinegurunaru.AppLogic.Page;
using Com.Framework;
using Com.Library.DB.Board;

namespace Com.Web.coffinegurunaru.whatsnew
{
	public partial class notice_delete : WebPage
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			int ArticleSN = Request["articlesn"].Parse(0);
			int PageNo = Request["pageNo"].Parse(0);
			string SearchWord = Request["searchWord"];
			string SearchType = Request["searchType"].Parse("0");

			if(ArticleSN > 0)
			{
				ArticleModel.Remove(ArticleSN);
			}

			Response.Redirect("/whatsnew/notice.aspx?PageNo=" + PageNo + "&SearchType=" + SearchType + "&searchWord=" + SearchWord, false);
		}
	}
}
